﻿#ifndef MAINTAINLOGING_H
#define MAINTAINLOGING_H

#include <QWidget>
#include "Global.h"
#include "MyPasswordFile.h"

namespace Ui {
class MaintainLoging;
}

class MaintainLoging : public QWidget
{
    Q_OBJECT
    
public:
    CountDownTime* countdown;
    QLabel* time;
    QLabel* signal;
    explicit MaintainLoging(QWidget *parent = 0);
    ~MaintainLoging();
    MyPasswordFile newPassword;
    QString passwrd;

public slots:
    void countStart(int);
    void on_Keyboard_clicked();

private slots:
    void countdownOver();

    void on_buttonBack_clicked();

    void on_buttonOk_clicked();

private:
    void keyBoardConnect();
    void keyHandle(QPushButton* btn, QLineEdit* lineEdit);
    Ui::MaintainLoging *ui;
};

#endif // MAINTAINLOGING_H
